package com.content.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

public class Article {
    private String articleId;

    private String useId;

    private String title;

    private Integer looknum;

    private String creatTime;

    private int isvisible;

//    private Integer orderby;

    private String updateTime;

    private Integer collectnum;

    private String content;

    private BelongtoKey belongtoKey;
    
    private User user;
    
    private List<Comment> comments;
    
    private List<ArticleClass> articleClass;
    
    private ArticleClass articleC;
    
    private int commentnum;
    
    private int hot;
    
    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId == null ? null : articleId.trim();
    }

    public String getUseId() {
        return useId;
    }

    public void setUseId(String useId) {
        this.useId = useId == null ? null : useId.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getLooknum() {
        return looknum;
    }

    public void setLooknum(Integer looknum) {
        this.looknum = looknum;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String publishTime) {
        this.creatTime = publishTime;
    }

    public int getIsvisible() {
        return isvisible;
    }

    public void setIsvisible(int isvisible) {
        this.isvisible = isvisible;
    }

//    public Integer getOrderby() {
//        return orderby;
//    }
//
//    public void setOrderby(Integer orderby) {
//        this.orderby = orderby;
//    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCollectnum() {
        return collectnum;
    }

    public void setCollectnum(Integer collectnum) {
        this.collectnum = collectnum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public List<Comment> getComments() {
		return comments;
	}

	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}

	public int getCommentnum() {
		return commentnum;
	}

	public void setCommentnum(int commentnum) {
		this.commentnum = commentnum;
	}

	public BelongtoKey getBelongtoKey() {
		return belongtoKey;
	}

	public void setBelongtoKey(BelongtoKey belongtoKey) {
		this.belongtoKey = belongtoKey;
	}

	public int getHot() {
		return hot;
	}

	public void setHot(int hot) {
		this.hot = hot;
	}

	public List<ArticleClass> getArticleClass() {
		return articleClass;
	}

	public void setArticleClass(List<ArticleClass> articleClass) {
		this.articleClass = articleClass;
	}

	public ArticleClass getArticleC() {
		return articleC;
	}

	public void setArticleC(ArticleClass articleC) {
		this.articleC = articleC;
	}

   
}